<?php
if (!defined('TOBBIVM'))
	header('location:/template/notrepassing.php');
/**
 * This file is part of TobbiVMShop.
 *
 * TobbiVMShop is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TobbiVMShop is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TobbiVMShop.  If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Template for Article->Category
 * used by category_page.table.php
 *
 * @version    $Id$
 * @package    TobbiVM-Shop
 * @copyright  Copyright (C) 2012
 * @author     Norbert Gebert
 * @license    GPL3
 */
?>

<h2>{page_titel}</h2>

<form class="niceform fieldset category" action="{formStart}" method="post">
	<fieldset>

		<table id="rounded-corner-category" summary="{table_summary}">
			<!-- column-with  max table width: 625px-->
			<colgroup>
				<col width="25">
				<col width="40">
				<col width="320">
				<col width="40">
				<col width="40">
				<col width="120">
			</colgroup>

			<thead>
				<tr>
					<th scope="col" class="rounded-company"></th>
					<th scope="col" class="rounded">{category_id}</th>
					<th scope="col" class="rounded">{category_name}</th>
					<th scope="col" class="rounded">{category_order}</th>
					<th scope="col" class="rounded">{category_activ}</th>
					<th scope="col" class="rounded-q4">{category_article}</th>
				</tr>
			</thead>

			<tfoot>
				<tr>
					<td class="rounded-foot-left"></td>
					<td colspan="4" class="rounded-foot-left">
					
						<div class="pagination">
							<a href="{urlPageFirst}">{txtPageFirst}</a>
							<a href="{urlPagePrev}">{txtPagePrev}</a>
									
							<!-- BEGIN urlPageP -->
							<a href="{url}">{text}</a>
							<!-- END urlPageP -->
									
							<span class="current">{nrPageC}</span>
							
							<!-- BEGIN PageN -->
							<a href="{url}">{text}</a>
							<!-- END PageN -->
									
							<a href="{urlPageNext}">{txtPageNext}</a>
							<a href="{urlPageLast}">{txtPageLast}</a>
   					</div>				
									
					</td>
					<td class="rounded-foot-right">&nbsp;</td>
				</tr>
			</tfoot>

			<tbody>
				<!-- BEGIN data -->
				<tr>
					<td>{category_set}</td>
					<td><div align="right">{category_idx}</div></td>
					<td>{category_namex}</td>
					<td><div align="right">{category_orderx}</div></td>
					<td><div align="center">{category_activx}</div></td>
					<td>{category_articlex}</td>
				</tr>
				<!-- END data -->
			</tbody>
		</table>

		<dl class="submit"> 
			{btnDelete}
			{btnNew}
			{btnCopy}
		</dl>
		<dl>
		{categoryPageHelp}
		</dl>
	</fieldset>
</form>